// src/config/menuConfig.js
export const menuItems = [
    {
        icon: require('@/assets/menu/index.png'),
        checkIcon: require('@/assets/menu/indexc.png'),
        text: '首页',
        child: [],
        isactive: false,
        route: { name: 'home' }
    },
    {
        icon: require('@/assets/menu/class.png'),
        checkIcon: require('@/assets/menu/classc.png'),
        text: '课程管理',
        child: [
            {
                text: '课程中心',
                route: { name: 'class' }
            }
        ],
        isactive: false,
    },
    {
        icon: require('@/assets/menu/question.png'),
        checkIcon: require('@/assets/menu/questionc.png'),
        text: '习题管理',
        child: [
            {
                text: '习题库',
                route: { name: 'question' }
            },
            // {
            //     text: 'AI出题',
            //     route: { name: 'ai-question' }
            // }
        ],
        isactive: false,
    },
    {
        icon: require('@/assets/menu/book.png'),
        checkIcon: require('@/assets/menu/bookc.png'),
        text: '教材管理',
        child: [
            {
                text: '教材/图书库',
                route: { name: 'book' }
            }
        ],
        isactive: false,
    },
    {
        icon: require('@/assets/menu/major.png'),
        checkIcon: require('@/assets/menu/majorc.png'),
        text: '专业管理',
        child: [
            {
                text: '专业建设',
                route: { name: 'major' }
            }
        ],
        isactive: false,
    }
];
export const adminMenuItems = [
    {
        icon: require('@/assets/menu/class.png'),
        checkIcon: require('@/assets/menu/classc.png'),
        text: '学科/专业管理',
        child: [
            {
                text: '学科/专业管理',
                route: { name: 'admin' }
            }
        ],
        isactive: false,
    },
    {
        icon: require('@/assets/menu/class.png'),
        checkIcon: require('@/assets/menu/classc.png'),
        text: '资源管理',
        child: [
            {
                text: '资源分类',
                route: { name: 'resourcecate' }
            },
            {
                text: '资源库',
                route: { name: 'resource' }
            },
            {
                text: '资源发布列表',
                route: { name: 'publish' }
            },
            {
                text: '教材/图书库',
                route: { name: 'textbook' }
            }
        ],
        isactive: false,
    },
    {
        icon: require('@/assets/menu/class.png'),
        checkIcon: require('@/assets/menu/classc.png'),
        text: '课程管理',
        child: [
            {
                text: '课程管理',
                route: { name: 'adminclass' }
            }
        ],
        isactive: false,
    },
    {
        icon: require('@/assets/menu/class.png'),
        checkIcon: require('@/assets/menu/classc.png'),
        text: '题库管理',
        child: [
            {
                text: '习题库',
                route: { name: 'adminquestion' }
            }
        ],
        isactive: false,
    },
    {
        icon: require('@/assets/menu/class.png'),
        checkIcon: require('@/assets/menu/classc.png'),
        text: '系统管理',
        child: [
            {
                text: '用户管理',
                route: { name: 'user' }
            },
            {
                text: '年级管理',
                route: { name: 'grade' }
            },
            {
                text: '班级管理',
                route: { name: 'classes' }
            }
        ],
        isactive: false,
    },
];